/*     */ package com.evitch.csvtrade.cmd;
/*     */ 
/*     */ public class MarketInfo
/*     */ {
/*  49 */   public static final MarketInfo MODE_LOW = new MarketInfo(1);
/*     */   public static final int _MODE_LOW = 1;
/*  54 */   public static final MarketInfo MODE_HIGH = new MarketInfo(2);
/*     */   public static final int _MODE_HIGH = 2;
/*  59 */   public static final MarketInfo MODE_TIME = new MarketInfo(5);
/*     */   public static final int _MODE_TIME = 5;
/*  64 */   public static final MarketInfo MODE_BID = new MarketInfo(9);
/*     */   public static final int _MODE_BID = 9;
/*  69 */   public static final MarketInfo MODE_ASK = new MarketInfo(10);
/*     */   public static final int _MODE_ASK = 10;
/*  74 */   public static final MarketInfo MODE_POINT = new MarketInfo(11);
/*     */   public static final int _MODE_POINT = 11;
/*  79 */   public static final MarketInfo MODE_DIGITS = new MarketInfo(12);
/*     */   public static final int _MODE_DIGITS = 12;
/*  84 */   public static final MarketInfo MODE_SPREAD = new MarketInfo(13);
/*     */   public static final int _MODE_SPREAD = 13;
/*  89 */   public static final MarketInfo MODE_STOPLEVEL = new MarketInfo(14);
/*     */   public static final int _MODE_STOPLEVEL = 14;
/*  94 */   public static final MarketInfo MODE_LOTSIZE = new MarketInfo(15);
/*     */   public static final int _MODE_LOTSIZE = 15;
/*  99 */   public static final MarketInfo MODE_TICKVALUE = new MarketInfo(16);
/*     */   public static final int _MODE_TICKVALUE = 16;
/* 104 */   public static final MarketInfo MODE_TICKSIZE = new MarketInfo(17);
/*     */   public static final int _MODE_TICKSIZE = 17;
/* 109 */   public static final MarketInfo MODE_SWAPLONG = new MarketInfo(18);
/*     */   public static final int _MODE_SWAPLONG = 18;
/* 114 */   public static final MarketInfo MODE_SWAPSHORT = new MarketInfo(19);
/*     */   public static final int _MODE_SWAPSHORT = 19;
/* 119 */   public static final MarketInfo MODE_STARTING = new MarketInfo(20);
/*     */   public static final int _MODE_STARTING = 20;
/* 124 */   public static final MarketInfo MODE_EXPIRATION = new MarketInfo(21);
/*     */   public static final int _MODE_EXPIRATION = 21;
/* 129 */   public static final MarketInfo MODE_TRADEALLOWED = new MarketInfo(22);
/*     */   public static final int _MODE_TRADEALLOWED = 22;
/* 134 */   public static final MarketInfo MODE_MINLOT = new MarketInfo(23);
/*     */   public static final int _MODE_MINLOT = 23;
/* 139 */   public static final MarketInfo MODE_LOTSTEP = new MarketInfo(24);
/*     */   public static final int _MODE_LOTSTEP = 24;
/* 144 */   public static final MarketInfo MODE_MAXLOT = new MarketInfo(25);
/*     */   public static final int _MODE_MAXLOT = 25;
/* 149 */   public static final MarketInfo MODE_SWAPTYPE = new MarketInfo(26);
/*     */   public static final int _MODE_SWAPTYPE = 26;
/* 154 */   public static final MarketInfo MODE_PROFITCALCMODE = new MarketInfo(27);
/*     */   public static final int _MODE_PROFITCALCMODE = 27;
/* 159 */   public static final MarketInfo MODE_MARGINCALCMODE = new MarketInfo(28);
/*     */   public static final int _MODE_MARGINCALCMODE = 28;
/* 164 */   public static final MarketInfo MODE_MARGININIT = new MarketInfo(29);
/*     */   public static final int _MODE_MARGININIT = 29;
/* 169 */   public static final MarketInfo MODE_MARGINMAINTENANCE = new MarketInfo(30);
/*     */   public static final int _MODE_MARGINMAINTENANCE = 30;
/* 174 */   public static final MarketInfo MODE_MARGINHEDGED = new MarketInfo(31);
/*     */   public static final int _MODE_MARGINHEDGED = 31;
/* 179 */   public static final MarketInfo MODE_MARGINREQUIRED = new MarketInfo(32);
/*     */   public static final int _MODE_MARGINREQUIRED = 32;
/* 184 */   public static final MarketInfo MODE_FREEZELEVEL = new MarketInfo(33);
/*     */   public static final int _MODE_FREEZELEVEL = 33;
/*     */   public int val;
/*     */ 
/*     */   private MarketInfo(int val)
/*     */   {
/* 188 */     this.val = val;
/*     */   }
/*     */   public static MarketInfo getMarketInfo(int val) {
/* 191 */     switch (val) {
/*     */     case 1:
/* 193 */       return MODE_LOW;
/*     */     case 2:
/* 194 */       return MODE_HIGH;
/*     */     case 5:
/* 195 */       return MODE_TIME;
/*     */     case 9:
/* 196 */       return MODE_BID;
/*     */     case 10:
/* 197 */       return MODE_ASK;
/*     */     case 11:
/* 198 */       return MODE_POINT;
/*     */     case 12:
/* 199 */       return MODE_DIGITS;
/*     */     case 13:
/* 200 */       return MODE_SPREAD;
/*     */     case 14:
/* 201 */       return MODE_STOPLEVEL;
/*     */     case 15:
/* 202 */       return MODE_LOTSIZE;
/*     */     case 16:
/* 203 */       return MODE_TICKVALUE;
/*     */     case 17:
/* 204 */       return MODE_TICKSIZE;
/*     */     case 18:
/* 205 */       return MODE_SWAPLONG;
/*     */     case 19:
/* 206 */       return MODE_SWAPSHORT;
/*     */     case 20:
/* 207 */       return MODE_STARTING;
/*     */     case 21:
/* 208 */       return MODE_EXPIRATION;
/*     */     case 22:
/* 209 */       return MODE_TRADEALLOWED;
/*     */     case 23:
/* 210 */       return MODE_MINLOT;
/*     */     case 24:
/* 211 */       return MODE_LOTSTEP;
/*     */     case 25:
/* 212 */       return MODE_MAXLOT;
/*     */     case 26:
/* 213 */       return MODE_SWAPTYPE;
/*     */     case 27:
/* 214 */       return MODE_PROFITCALCMODE;
/*     */     case 28:
/* 215 */       return MODE_MARGINCALCMODE;
/*     */     case 29:
/* 216 */       return MODE_MARGININIT;
/*     */     case 30:
/* 217 */       return MODE_MARGINMAINTENANCE;
/*     */     case 31:
/* 218 */       return MODE_MARGINHEDGED;
/*     */     case 32:
/* 219 */       return MODE_MARGINREQUIRED;
/*     */     case 33:
/* 220 */       return MODE_FREEZELEVEL;
/*     */     case 3:
/*     */     case 4:
/*     */     case 6:
/*     */     case 7:
/* 221 */     case 8: } return null;
/*     */   }
/*     */ }

/* Location:           C:\Users\froge\workspace\jfx126_bin\lib\jfx.jar
 * Qualified Name:     com.jfx.MarketInfo
 * JD-Core Version:    0.6.0
 */